import instance from '@/utils/request'

// 封装登录接口并暴露出去
export function login(data) {
  return instance({
    url: '/api/sys/login',
    method: 'post',
    data
  })
}

// 封装获取用户信息接口
export function getInfo() {
  return instance({
    url: '/api/sys/profile',
    method: 'post'
  })
}

export function logout() {
}
